<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<import type="css" file="css.form" />
<import type="css" file="css.global" />
<import type="js" file="js.common" />
<script Language="JavaScript">
function CheckForm()
{
	if(document.form1.priv_no.value=="")
	{ alert("职务序号不能为空！");
		return (false);
	}
	if(document.form1.priv_name.value=="")
	{ alert("职务不能为空！");
		return (false);
	}
}
</script>
</head>

<body>
<div class="search"><b>新建角色</b></div>
<div id="form">
	<form action="__URL__/insert"  method="post" name="form1" onsubmit="return CheckForm();">
		<table>
		 <tr>
			<td class="titlename">角色序号：</td>
			<td>
				<input type="text" name="priv_no" size="3" maxlength="4">&nbsp;
			</td>
		 </tr>
		 <tr>
			<td class="titlename">角色名称：</td>
			<td>
				<input type="text" name="priv_name" size="25" >&nbsp;
			</td>
		 </tr>
		 <tr>
			<td class="titlename">角色级别：</td>
			<td>
				<select name="priv_leve">
					<option value="" >---请选择---
				<volist name="data_leve" id="vo">
					<option value="{$vo.id}" />{$vo.leve}
				</volist>
				</select>
			</td>
		 </tr>
		 <tr>
			<td class="titlename"></td>
			<td>
				<input type="submit" value="保存" class="submit">&nbsp;&nbsp;
				<input type="button" value="返回" class="button" onclick="back()">
			</td>
		  </tr>
		</table>
	</form>
</div>
</body>
</html>